<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>登录 - 方天下国旅后台管理系统</title>
    <link href="{__FRAME_PATH}css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <link href="{__FRAME_PATH}css/font-awesome.min.css?v=4.3.0" rel="stylesheet">
    <link href="{__FRAME_PATH}css/animate.min.css" rel="stylesheet">
    <link href="{__FRAME_PATH}css/style.min.css?v=3.0.0" rel="stylesheet">
    <script>
        top != window && (top.location.href = location.href);
    </script>

    <style>
        body {
            background: url(/public/system/frame/img/bg-logo.jpg) no-repeat;
            background-size: cover;
        }
        .verify_drag_box {
            background: #0192dc;
            color: #fff;
        }
        .loginscreen.middle-box {
            width: 330px;
        }

        .login-group {
            border-radius: 10px;
            background-color: #141e6e;
        }
    </style>
</head>

<body class="gray-bg login-bg">
<div class="middle-box text-center loginscreen  animated fadeInDown">
    <div class="login-group">
        <div class="login-logo">
            <div style="height:10px"></div>
            <p>上海方天下国旅后台管理系统</p>
        </div>
        <form class="m-t" role="form" action="{:url('verify')}" method="post" id="sform">
            <div class="form-group">
                <div class="input-group m-b"><span class="input-group-addon"><i class="fa fa-user"></i> </span>
                    <input type="text" id="account" name="account" placeholder="用户名" placeholder="用户名" class="form-control">
                </div>
            </div>
            <div class="form-group">
                <div class="input-group m-b"><span class="input-group-addon"><i class="fa fa-unlock-alt"></i> </span>
                    <input type="password" class="form-control" id="pwd" name="pwd" placeholder="密码" required="">
                </div>

            </div>
            <a class="btn btn-primary block full-width m-b login-btn" id="submitForm">登 录</a>
        </form>
    </div>
</div>
<div class="footer" style="    position: fixed;bottom: 0;width: 100%;left: 0;margin: 0;">
    <div class="pull-right">© 2000-2024 <a href="javascript:;">上海方天下国旅后台管理系统</a>
        <a href="https://beian.miit.gov.cn/" target="_blank">沪ICP备2024055425号-1</a>
    </div>
</div>
<!-- 全局js -->
<script src="{__PLUG_PATH}jquery-1.10.2.min.js"></script>
<script src="{__FRAME_PATH}js/bootstrap.min.js?v=3.4.0"></script>
<script src="{__MODULE_PATH}login/index.js"></script>

<script type="text/javascript" src="{__FRAME_PATH}js/verify.slider.js" ></script>

<!--点击刷新验证码-->
<script>
    var valid_flag = true;
    $('#submitForm').on('click' , function() {
        if ( valid_flag ) {
            if ( $('#account').val() == '' ) {
                $('#account').focus()
                return alert('请输入账号')
            }

            if ( $('#pwd').val() == '' ) {
                $('#pwd').focus()
                return alert('请输入密码')
            }
            return $('#sform').submit()
        }

        return alert('请完成验证')
    });
</script>
</body>
</html>